package ca.scotthyndman.as2haxe.dom;

import ca.scotthyndman.as2haxe.dom.visitor.IVisitable;
import ca.scotthyndman.as2haxe.dom.visitor.IVisitor;

/**
 * Represents an expression.
 */
public class ASExpression extends ASTNode implements IVisitable {

	/**
	 * Constructs a new instance of ASExpression
	 * 
	 * @param ast
	 *            The abstract syntax tree that owns this element
	 */
	public ASExpression(AST ast) {
		super(ast);
	}

	public void accept(IVisitor as2Visitor, boolean recursive) {
		recursive = as2Visitor.visit(this);
	}
}
